package com.ms.service.module.analysisgroup;

import com.xpec.c4.game.cronjob.CronTaskTimer;

public class RevenueAndExpenditureLogTimer extends CronTaskTimer{

	private AnalysisGroupModule module;
	
	@Override
	public void execute() throws Exception {
		module.getProc().SaveAllGameRevenueAndExpenditureLog();
		module.getProc().onTimeTriggerClearGameREMap();
		module.getProc().onTimeTriggerClearPlayerREMap();
		
		module.getProc().SaveAllCoinExpenditureLog();
		module.getProc().setAllCoinExpenditureTotalValueToZero();
	}

	public AnalysisGroupModule getModule() {
		return module;
	}

	public void setModule(AnalysisGroupModule module) {
		this.module = module;
	}

}
